/**
 * Main Class for CellularAutomaton
 */
package examples;

import examples.rulesets.*;
import examples.visualizers.*;
import framework.cellularAutomaton.CellularAutomaton;
import framework.interfaces.RuleSet;
import framework.interfaces.Visualization;

/**
 * This is a sample main class that starts up the Cellular Automaton GUI. It
 * uses the Conway example RuleSet plugin, and ConwayVisualizer example 
 * Visualizer plugin. 
 * @author bwasserm, aduda, sspock
 * 
 */
public class ExampleMain {

	/**
	 * Example main function that runs the CellularAutomaton
	 * @param args Unnecessary
	 */
	public static void main(String[] args) {
		//Create new RuleSet and Visualizer plugins to use
		RuleSet wireworld = new Wireworld();
		Visualization wireworldVis = new WireworldVisualizer();
		
		//Create a simulation
		CellularAutomaton ca = new CellularAutomaton(wireworld, wireworldVis);
		
		//Start the CellularAutomaton
		ca.start();
	}
}
